import React from "react";

import PageContent from '../../PageContent'

import UICardTabs from '../../uicomponents/UICardTabs';

import ProductDatabaseDataTypeMapListPanel from './ProductDatabaseDataTypeMapListPanel';

/** 
 * 产品数据映射管理
*/
export default class ProductDataTypeMapApp extends React.Component {
    render() {

        const tabPanelContentMap = {
            '/product/model/productDatabaseDataTypeMapPane': {
                getComponent: (owner, props) => {
                    return <ProductDatabaseDataTypeMapListPanel />;
                }
            },
        };

		const configProps = {
			tabConfigId: 'dataTypeMapTab',
			tabContentMap: tabPanelContentMap,
		};


        return (
			<PageContent {...this.props} pageInstance={this} >
				<UICardTabs {...configProps} />
			</PageContent>
		);
    }
}